package cn.tedu.db;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EntityScan("cn.tedu.db.entity")
//扫码仓库接口的位置
@EnableJdbcRepositories("cn.tedu.db.dao")
public class SpringJdbcJpaApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringJdbcJpaApplication.class, args);
    }

}
